package com.xiaoxiaoxt.xiaoxiaoxtdao.mapper;

import com.xiaoxiaoxt.xiaoxiaoxtdao.entity.QuestionOption;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface QuestionOptionMapper extends Mapper<QuestionOption> {

    Integer countByQuestionForTeacher(Map<String, Integer> map);

    int updateStyleByPrimaryKeyBatch(@Param("list") List<HashMap<String, String>> list);
}